﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Enterprise.Service.Doc;
using System.Text;
using System.Data;
using Enterprise.Infrastructure;
using Enterprise.Service.User;
using Enterprise.Model.User;
namespace Enterprise.UI.Web
{
    public partial class Index : Enterprise.Service.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //使用电子签名
                //ldqm.Text = "xzh".QianMing(200, 400,100);
            }
        }

        protected string GetBirthday()
        {
            string str = "";
            UserService uService = new UserService();
            var query = uService.UserList().Where(p => p.UBIRTHDAY.ToString("MM-dd") == DateTime.Now.ToString("MM-dd"));
            foreach (var var in query)
            {
                str += string.Format("<li>祝贺 <font color=\"red\">{0}</font> 生日快乐~ </li>", var.UNAME);
            }
            return str;
        }

    }
}